package com.xinruke.hostels.common.po;

import lombok.Data;

import javax.persistence.*;
import java.util.Date;

@Table(name = "mh_nianyouhuicishu")
@Data
public class MhNianyouhuicishu {


    // 初始化优惠次数 45
    public final static int CHUSHICISHU = 45;
    //初始化预订中次数 0
    public final static int YUDINGZHONGCISHU = 0;


    /**
     */
    public final static byte SHANCHUBIAOSHI_BUSHANCHU = 0;
    /**
     */
    public final static byte SHANCHUBIAOSHI_SHANCHU = 1;


    @Id
    @GeneratedValue(strategy= GenerationType.IDENTITY)
    private Integer id;

    /**
     */
    private Byte zhengjianleixing;

    /**
     */
    private String zhengjianhao;

    /**
     */
    @Column(name = "qinshu_id")
    private Integer qinshuId;

    /**
     */
    private Integer cishu;

    /**
     */
    private Integer shengyucishu;

    /**
     */
    private Integer nian;

    /**
     */
    private String beizhu;

    private Date chuangjianshijian;

    private Date gengxinshijian;

    private Byte shanchubiaoshi;

    @Column(name = "huiyuan_id")
    private Integer huiyuanId;

    /**
     */
    private Integer yudingzhongcishu;
}